package com.todo.biz.iface.frontend.request;

import com.todo.common.common.entity.CurrentUser;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/10 16:21
 * @description
 */
@Data
@Schema(title = "删除评论参数", description = "删除评论参数")
public class RemoveCommentByIdParam {

    private CurrentUser _user;

    @Schema(name = "业务id", description = "业务id")
    private String bizId;

    @Schema(name = "业务场景", description = "业务场景")
    private Integer businessScene;

    @Schema(name = "评论id", description = "评论id")
    private String commentId;

    public boolean baseCheck() {
        if (bizId == null || businessScene == null || commentId == null){
            return false;
        }
        return true;
    }
}
